import copy
from rest_framework.views import APIView
from SecureHelperServer.settings import formatResponseData
from utils.conf import Response


class GetWardUserInfoView(APIView):
    # 局部(本视图有效)身份认证
    authentication_classes = []
    # 局部(本视图有效)权限认证
    permission_classes = []

    def post(self, request, *args, **kwargs):
        """
        云监护-获取监护对象用户信息
        """
        data = copy.deepcopy(formatResponseData)
        try:
            pass

        except Exception as e:
            return Response(data=data, responseMsg="ServerError",
                            loggerMsg=f"请求处理失败: {e}", isError=True)
